<?php

Class Mproduk extends CI_Model
{
	function __construnct()
	{
		$this->load->database();
	}

	function tampilall(	)
	{
		$sql = "select * from produk limit 0,20";
		return $this->db->query($sql)->result();
	}
}